<?php

{{ builderInfo.php|raw }}

namespace {{ thisController.namespace }};

class {{ thisController.class }} extends \{{ appNamespace }}\Core\Controller {

  public bool $hideDefaultDesktop = true;

  public function renderJson(): ?array { 
    try {
      return 
{{ varExport(thisController.config.params, "      ")|raw }} ?? []
      ;
    } catch (\ADIOS\Core\Exceptions\GeneralException $e) {
      // TODO: Error
    }
  }
}
